package com.bootcamp.servlet.cookie;

/**
 * @program: wrok-1101
 * @author: Keyu Li
 * @create: 2021-11-04 11:22
 **/

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.annotation.*;
import java.io.IOException;

@WebServlet(name = "CookieLoginServlet", value = "/CookieLoginServlet")
public class CookieLoginServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        Cookie cookie = new Cookie("username","123");
    }

    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

    }
}
